package tp.pr4.listeners;

import tp.pr4.items.Item;

public interface ItemContainerListener {
	public enum ItemContainerChangeType{
		ITEM_PICKED, ITEM_DROPED;
	}
	/**
	 * Function is called whenever an item is added or removed from the container. That item is sent as an argument
	 */
	public void onChange(Item it, ItemContainerChangeType type);
}
